﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessLayer;
using Site.Code;

namespace Site.Controllers
{
    public class CategoryController : BaseController
    {
        public ActionResult Index(string categoryName)
        {
            var model = CategoryBusiness.GetCategory(categoryName);
            return View(model);
        }
    }
}